<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>{Result_Title} (Result)</title>
<link rel="stylesheet" href="../../css/mem_main.css" type="text/css">
<script Language="JavaScript1.2" type="text/javascript" src="/inc/checkdata_{intLang}.js"></script>
<script Language="JavaScript">
<!--
var isEnd = {ShowisEnd};

function finalcheck(){
	with(document.beMemberFrm){
		if(Check(document.beMemberFrm)){
			if(confirm("{ResultConfirm}")){
				op.value = "CountResult";
				submit();
			}
		}
	}
}

function AutoShowScore(objNum){
	if(isEnd != 1 && objNum.value.length == 2)ShowScore();
}

function ShowScore(){
	with(document.beMemberFrm){
		op.value = "ShowScore";
		submit();
	}
}

function ChangeOP(){
	with(document.beMemberFrm){
		target="";
		op.value = "List";
		submit();
	}
}
//-->
</script>
</head>

<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0">
<!-- 檢驗資料用 //-->
<form name="CheckDataForm">
	<!-- @ LType3 Sd @ //-->
	<input type="hidden" name="required" value="ints;NumberNormal0;{NumberNormal}">
	<input type="hidden" name="required" value="ints;NumberNormal1;{NumberNormal}">
	<input type="hidden" name="required" value="ints;NumberNormal2;{NumberNormal}">
	<input type="hidden" name="required" value="ints;NumberNormal3;{NumberNormal}">
	<input type="hidden" name="required" value="ints;NumberNormal4;{NumberNormal}">
	<input type="hidden" name="required" value="ints;NumberNormal5;{NumberNormal}">
	<input type="hidden" name="required" value="ints;NumberNormal6;{NumberNormal}">
	<!-- @ LType3 End @ //-->
	<!-- @ LType2 Sd @ //-->
	<input type="hidden" name="required" value="ints;NumberNormal0;{NumberNormal}">
	<input type="hidden" name="required" value="ints;NumberNormal1;{NumberNormal}">
	<input type="hidden" name="required" value="ints;NumberNormal2;{NumberNormal}">
		<!-- @ LType2-1 Sd @ //-- >
		<input type="hidden" name="required" value="ints;NumberNormal3;{NumberNormal}">
		<input type="hidden" name="required" value="ints;NumberNormal4;{NumberNormal}">
		< !-- @ LType2-1 End @ //-->
	<!-- @ LType2 End @ //-->
	<!-- @ LType1 Sd @ //-->
	<input type="hidden" name="required" value="ints;NumberNormal0;{NumberNormal}">
	<input type="hidden" name="required" value="ints;NumberNormal1;{NumberNormal}">
	<input type="hidden" name="required" value="ints;NumberNormal2;{NumberNormal}">
	<input type="hidden" name="required" value="ints;NumberNormal3;{NumberNormal}">
		<!-- @ LType4 Sd @ //-->
		<input type="hidden" name="required" value="ints;NumberNormal4;{NumberNormal}">
		<input type="hidden" name="required" value="ints;NumberNormal5;{NumberNormal}">
		<!-- @ LType4 End @ //-->
	<input type="hidden" name="required" value="ints;NumberSpecial;{NumberSpecial}">
	<!-- @ LType1 End @ //-->
</form>
<!-- End //-->

<form name="beMemberFrm" method="GET" action="index.php" target="ScoreResult">
<input type="hidden" name="op" value="Update">
<input type="hidden" name="ID" value="{ShowID}">
<input type="hidden" name="LottoID" value="{ShowLottoID}">
<input type="hidden" name="GameDate" value="{ShowGameDate}">
<table width="770" border="0" cellspacing="0" cellpadding="0" class="cmti">
  <tr> 
    <td>{Result_Title}:-- 
	  <input type="button" value="{_Add}" class="zabutton" onclick="location.href='index.php?op=Add&GameDate={ShowGameDate}'">
	  {_Date} 
	  <input type="text" name="GameDate" size="10" class="zatexted" value="{ShowGameDate}">
	  <input type="button" value="{_Search}" class="zabutton" onclick="ChangeOP()">
    </td>
  </tr>
</table>

<div class="ctabdv"> 
<table width="700" border="0" cellspacing="1" cellpadding="0" class="ctab">
  <tr class="clef"> 
    <td width="120" class="ctigaed">{List_Time}</td>
    <td>{ShowTime}</td>
  </tr>
  <tr class="clef"> 
    <td width="120" class="ctigaed">{List_GameNo}</td>
    <td>{ShowSerialNo}</td>
  </tr>
  <tr class="clef"> 
    <td width="120" class="ctigaed">{List_Team}</td>
    <td style="color: #FF0000; font-size: 16px; font-weight: 700">{ShowLotto}</td>
  </tr>
  <tr class="clef"> 
    <td class="ctigaed">{Number}{OnOrder}</td>
    <td>
	  <!-- @ LTypeNN3 Sd @ //-->
	  <input type="text" name="NumberNormal0" class="zatexted" size="3" value="{ShowNNumber0}" onkeyup="AutoShowScore(this)">-
	  <input type="text" name="NumberNormal1" class="zatexted" size="3" value="{ShowNNumber1}" onkeyup="AutoShowScore(this)">-
	  <input type="text" name="NumberNormal2" class="zatexted" size="3" value="{ShowNNumber2}" onkeyup="AutoShowScore(this)">-
	  <input type="text" name="NumberNormal3" class="zatexted" size="3" value="{ShowNNumber3}" onkeyup="AutoShowScore(this)">-
	  <input type="text" name="NumberNormal4" class="zatexted" size="3" value="{ShowNNumber4}" onkeyup="AutoShowScore(this)">-
	  <input type="text" name="NumberNormal5" class="zatexted" size="3" value="{ShowNNumber5}" onkeyup="AutoShowScore(this)">-
	  <input type="text" name="NumberNormal6" class="zatexted" size="3" value="{ShowNNumber6}" onkeyup="AutoShowScore(this)">
	  <!-- @ LTypeNN3 End @ //-->
	  <!-- @ LTypeNN2 Sd @ //-->
	  <input type="text" name="NumberNormal0" class="zatexted" size="3" value="{ShowNNumber0}" onkeyup="AutoShowScore(this)">-
	  <input type="text" name="NumberNormal1" class="zatexted" size="3" value="{ShowNNumber1}" onkeyup="AutoShowScore(this)">-
	  <input type="text" name="NumberNormal2" class="zatexted" size="3" value="{ShowNNumber2}" onkeyup="AutoShowScore(this)">
		<!-- @ LTypeNN2-1 Sd @ //-- >
	  -<input type="text" name="NumberNormal3" class="zatexted" size="3" value="{ShowNNumber3}" onkeyup="AutoShowScore(this)">
	  -<input type="text" name="NumberNormal4" class="zatexted" size="3" value="{ShowNNumber4}" onkeyup="AutoShowScore(this)">
		< !-- @ LTypeNN2-1 End @ //-->
	  <!-- @ LTypeNN2 End @ //-->
	  <!-- @ LTypeNN1 Sd @ //-->
	  <input type="text" name="NumberNormal0" class="zatexted" size="3" value="{ShowNNumber0}" onkeyup="AutoShowScore(this)">-
	  <input type="text" name="NumberNormal1" class="zatexted" size="3" value="{ShowNNumber1}" onkeyup="AutoShowScore(this)">-
	  <input type="text" name="NumberNormal2" class="zatexted" size="3" value="{ShowNNumber2}" onkeyup="AutoShowScore(this)">-
	  <input type="text" name="NumberNormal3" class="zatexted" size="3" value="{ShowNNumber3}" onkeyup="AutoShowScore(this)">
		  <!-- @ LTypeNN4 Sd @ //-->
		  -
		  <input type="text" name="NumberNormal4" class="zatexted" size="3" value="{ShowNNumber4}" onkeyup="AutoShowScore(this)">-
		  <input type="text" name="NumberNormal5" class="zatexted" size="3" value="{ShowNNumber5}" onkeyup="AutoShowScore(this)">
		  <!-- @ LTypeNN4 End @ //-->
	  <!-- @ LTypeNN1 End @ //-->
    </td>
  </tr>
  <!-- @ LTypeSN Sd @ //-->
  <tr class="clef"> 
    <td class="ctigaed">{NumberSpecial}</td>
    <td>
	  <input type="text" name="NumberSpecial" class="zatexted" size="3" value="{ShowSNumber}" onkeyup="AutoShowScore(this)">
    </td>
  </tr>
  <!-- @ LTypeSN End @ //-->
  <tr class="clef"> 
    <td colspan="2" class="cedfoot">
	<!-- @ GameEnd Sd @ //-->
	  <input type="button" value="{_Import}" onclick="ShowScore()" class="zabutton">&nbsp;&nbsp;&nbsp; 
	<!-- @ GameEnd End @ //-->
	  <input type="button" value="{_Count}" onclick="finalcheck()" class="zabutton">&nbsp;&nbsp;&nbsp; 
	  <input type="reset" value="{_Reset}" class="zabutton">
    </td>
  </tr>
  <tr class="clef"> 
    <td class="ctigaed">Result</td>
    <td><br /><iframe width="300" height="200" name="ScoreResult" frameBorder="0"></iframe></td>
  </tr>
</table>
</div>
</form>
</body>
</html>
